]> dgit.raspbian.org Git - gnome-shell.git/commit
appDisplay: Look up directory- instead of category translations
authorFlorian Müllner <fmuellner@gnome.org>
Sun, 12 Apr 2020 15:15:48 +0000 (17:15 +0200)
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Mon, 13 Apr 2020 14:56:34 +0000 (14:56 +0000)
commit3fac0632a8fdb78a7082dd403cbf27dd62ed91b7
tree0f854f898f497221e0ba14c79ffabd885405b4bf
parentc2b518929da809425ccf12f8746a485afae37e7a
appDisplay: Look up directory- instead of category translations

Translations are provided by .directory files, so trying to look
up a category name without the suffix will always fail.

Commit 343b3351f1 tried to fix this previously by changing the
saved keys, but that broke existing translatable folders.

Appending the .directory suffix for the lookup instead fixes the
issue without regressing non-custom folders.

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/2623
js/ui/appDisplay.js